#ifndef CIRCLELOOPDRAWABLE_H
#define CIRCLELOOPDRAWABLE_H

#include "./drawables/drawable.h"
#include "./selectable/selectable.h"
#include "./tagable/tagable.h"

class CircleLoopDrawable:public Drawable, public Selectable
{
private:
    QPointF _center;
    int _radius;
    bool _pointInCircle(QPointF point);
    enum {LINE_WIDTH = 500};
public:
    CircleLoopDrawable();
    CircleLoopDrawable(QPointF center, double radius);
    void draw(CoodrsTransformer *coordsTransformer=0);
    QRectF getBoundingBox();
    virtual bool isSelected(QPointF selectedPoint);

};
#endif // CIRCLELOOPDRAWABLE_H
